import { useColorMode } from "../ui/color-mode";

export function FullLogo({
  width = 213,
  height = 52,
}: {
  width?: number | string;
  height?: number | string;
}) {
  const { colorMode } = useColorMode();

  if (colorMode === "dark") {
    return (
      <svg
        width={width}
        height={height}
        viewBox="0 0 152 32"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
      >
        <path
          d="M1.23355e-07 7.62982V24.8198C-6.74451e-05 24.9252 0.0276243 25.0288 0.0802886 25.12C0.132953 25.2113 0.208732 25.2871 0.3 25.3398L10.257 31.0878C10.3481 31.1409 10.4516 31.1688 10.557 31.1688C10.6624 31.1688 10.7659 31.1409 10.857 31.0878L22.367 24.4438C22.4583 24.3911 22.534 24.3153 22.5867 24.224C22.6394 24.1328 22.6671 24.0292 22.667 23.9238V6.73282C22.6672 6.62741 22.6395 6.52383 22.5868 6.43252C22.5342 6.34122 22.4583 6.26543 22.367 6.21282L18.701 4.09782C18.6098 4.04516 18.5063 4.01743 18.401 4.01743C18.2957 4.01743 18.1922 4.04516 18.101 4.09782L16.378 5.09282V3.10282C16.3782 2.99741 16.3505 2.89383 16.2978 2.80252C16.2452 2.71122 16.1693 2.63543 16.078 2.58282L12.41 0.465819C12.3187 0.413353 12.2153 0.385742 12.11 0.385742C12.0047 0.385742 11.9013 0.413353 11.81 0.465819L8.269 2.51082C8.17773 2.56351 8.10195 2.63932 8.04929 2.7306C7.99662 2.82189 7.96893 2.92543 7.969 3.03082V7.49382L7.753 7.61882V7.32282C7.75307 7.21743 7.72538 7.11389 7.67271 7.0226C7.62005 6.93132 7.54427 6.85551 7.453 6.80282L4.443 5.06382C4.35169 5.01145 4.24826 4.9839 4.143 4.9839C4.03774 4.9839 3.93431 5.01145 3.843 5.06382L0.301 7.10982C0.209664 7.16243 0.133829 7.23822 0.0811542 7.32952C0.0284796 7.42083 0.000830841 7.52441 0.00100012 7.62982H1.23355e-07ZM0.9 8.14882L3.312 9.53882V14.1758L3.315 14.1938L3.321 14.2328C3.32582 14.2596 3.33458 14.2856 3.347 14.3098C3.35 14.3148 3.349 14.3208 3.353 14.3258C3.355 14.3308 3.36 14.3318 3.363 14.3358C3.38209 14.3651 3.40651 14.3906 3.435 14.4108C3.445 14.4188 3.451 14.4298 3.462 14.4358L6.742 16.3318C6.746 16.3338 6.752 16.3318 6.756 16.3348C6.79747 16.3575 6.84377 16.3698 6.891 16.3708C6.941 16.3708 6.985 16.3568 7.026 16.3358C7.037 16.3298 7.046 16.3218 7.057 16.3148C7.08703 16.2943 7.11312 16.2686 7.134 16.2388C7.139 16.2308 7.147 16.2288 7.152 16.2208C7.155 16.2158 7.155 16.2088 7.158 16.2038C7.167 16.1858 7.171 16.1678 7.176 16.1478C7.18248 16.1284 7.18651 16.1082 7.188 16.0878C7.188 16.0828 7.192 16.0778 7.192 16.0708V11.7808L10.258 13.5508V30.0488L0.9 24.6498V8.14882ZM21.467 6.73182L18.527 8.43082L15.461 6.65982L15.927 6.38982L18.4 4.96182L21.467 6.73182ZM15.177 3.10182L12.235 4.79882L9.169 3.02882L12.11 1.32982L15.176 3.10182H15.177ZM6.551 7.32282L3.611 9.02082L1.201 7.62982L4.141 5.92982L6.551 7.32282ZM12.573 10.1058L14.56 8.96082V11.4728C14.56 11.4848 14.566 11.4958 14.568 11.5088C14.5704 11.5487 14.5831 11.5873 14.605 11.6208C14.615 11.6368 14.623 11.6528 14.636 11.6668C14.65 11.6828 14.666 11.6948 14.682 11.7078C14.692 11.7158 14.699 11.7258 14.71 11.7328L17.926 13.5878L14.398 15.6248V11.3348C14.398 11.3278 14.395 11.3228 14.395 11.3168C14.3931 11.2768 14.3829 11.2376 14.365 11.2018C14.361 11.1958 14.362 11.1898 14.358 11.1848C14.354 11.1788 14.35 11.1758 14.346 11.1718C14.3236 11.1378 14.2948 11.1086 14.261 11.0858C14.256 11.0828 14.253 11.0768 14.248 11.0738L12.573 10.1058ZM15.16 7.17982L18.227 8.95082V13.0688L15.16 11.2988V7.17982ZM7.491 11.2618L10.433 9.56182L13.498 11.3338L10.556 13.0308L7.491 11.2618ZM6.591 15.5518L4.211 14.1768L6.591 12.8028V15.5528V15.5518ZM7.451 8.83082L8.567 8.18682L10.093 9.06682L7.451 10.5918V8.83082ZM8.867 3.54882L11.934 5.31882V9.43582L8.868 7.66682V3.54882H8.867Z"
          fill="#F1F5F9"
        />
        <path
          d="M35.8042 7.19694V21.2876H42.838V24H32.8619V7.19694H35.8042ZM48.1958 24.2988C45.7822 24.2988 44.3111 22.8967 44.3111 20.7589C44.3111 18.6672 45.8282 17.3569 48.5176 17.1501L51.9196 16.8972V16.6444C51.9196 15.1043 51.0001 14.4836 49.575 14.4836C47.92 14.4836 47.0005 15.1732 47.0005 16.3685H44.6099C44.6099 13.909 46.6327 12.2999 49.7129 12.2999C52.7701 12.2999 54.655 13.9549 54.655 17.1041V24H52.1954L51.9886 22.322C51.5058 23.4943 49.9658 24.2988 48.1958 24.2988ZM49.1153 22.1841C50.8392 22.1841 51.9426 21.1497 51.9426 19.4027V18.8051L49.575 18.989C47.828 19.1499 47.1614 19.7245 47.1614 20.644C47.1614 21.6784 47.851 22.1841 49.1153 22.1841ZM60.2143 24H57.4099V12.6447H60.0074L60.2373 14.1158C60.9498 12.9665 62.329 12.2999 63.8691 12.2999C66.7194 12.2999 68.1906 14.0699 68.1906 17.0121V24H65.3862V17.6787C65.3862 15.7709 64.4438 14.8514 62.9956 14.8514C61.2716 14.8514 60.2143 16.0467 60.2143 17.8856V24ZM70.3023 18.0695C70.3023 14.7595 72.463 12.2769 75.7041 12.2769C77.405 12.2769 78.7383 12.9895 79.4049 14.2078L79.5658 12.6447H82.1632V23.4253C82.1632 27.2181 79.8876 29.5857 76.2098 29.5857C72.9457 29.5857 70.716 27.7238 70.3712 24.6896H73.1756C73.3594 26.1607 74.4858 27.0342 76.2098 27.0342C78.1406 27.0342 79.3819 25.8159 79.3819 23.931V22.0462C78.6693 23.1035 77.2671 23.7701 75.6351 23.7701C72.417 23.7701 70.3023 21.3566 70.3023 18.0695ZM73.1296 18.0006C73.1296 19.9084 74.3479 21.3336 76.1868 21.3336C78.1176 21.3336 79.3129 19.9774 79.3129 18.0006C79.3129 16.0697 78.1406 14.7365 76.1868 14.7365C74.3249 14.7365 73.1296 16.1387 73.1296 18.0006Z"
          fill="#F1F5F9"
        />
        <path
          d="M88.165 24L83.154 7.19694H86.2112L88.8776 16.0697C89.1304 16.9891 89.3833 17.9316 89.6361 19.4027C89.912 17.9086 90.1648 17.0351 90.4637 16.0697L93.1071 7.19694H96.3482L98.9456 16.0697C99.2215 17.0121 99.4743 17.9776 99.7502 19.4027C100.072 17.8396 100.302 16.9432 100.555 16.0927L103.267 7.19694H106.255L101.152 24H98.302L94.7161 11.7712L91.0613 24H88.165ZM109.725 24.2988C107.311 24.2988 105.84 22.8967 105.84 20.7589C105.84 18.6672 107.357 17.3569 110.047 17.1501L113.449 16.8972V16.6444C113.449 15.1043 112.529 14.4836 111.104 14.4836C109.449 14.4836 108.53 15.1732 108.53 16.3685H106.139C106.139 13.909 108.162 12.2999 111.242 12.2999C114.299 12.2999 116.184 13.9549 116.184 17.1041V24H113.724L113.518 22.322C113.035 23.4943 111.495 24.2988 109.725 24.2988ZM110.644 22.1841C112.368 22.1841 113.472 21.1497 113.472 19.4027V18.8051L111.104 18.989C109.357 19.1499 108.69 19.7245 108.69 20.644C108.69 21.6784 109.38 22.1841 110.644 22.1841ZM122.644 24H119.839V14.9893H117.655V12.6447H119.839V9.10481H122.644V12.6447H124.85V14.9893H122.644V24ZM125.815 18.2994C125.815 14.7825 128.136 12.2999 131.492 12.2999C134.596 12.2999 136.71 14.0239 137.009 16.7593H134.205C133.883 15.472 132.941 14.8054 131.607 14.8054C129.814 14.8054 128.619 16.1616 128.619 18.2994C128.619 20.4371 129.722 21.7703 131.515 21.7703C132.918 21.7703 133.906 21.0807 134.205 19.8395H137.032C136.687 22.4829 134.481 24.2988 131.515 24.2988C128.067 24.2988 125.815 21.9082 125.815 18.2994ZM141.924 24H139.119V6.89812H141.947V14.1158C142.659 13.0125 143.993 12.2999 145.625 12.2999C148.429 12.2999 149.9 14.0699 149.9 17.0121V24H147.096V17.6787C147.096 15.7709 146.153 14.8514 144.728 14.8514C142.958 14.8514 141.924 16.0927 141.924 17.7937V24Z"
          fill="#CAD5E2"
        />
      </svg>
    );
  }

  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 152 32"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M1.23355e-07 7.62982V24.8198C-6.74451e-05 24.9252 0.0276243 25.0288 0.0802886 25.12C0.132953 25.2113 0.208732 25.2871 0.3 25.3398L10.257 31.0878C10.3481 31.1409 10.4516 31.1688 10.557 31.1688C10.6624 31.1688 10.7659 31.1409 10.857 31.0878L22.367 24.4438C22.4583 24.3911 22.534 24.3153 22.5867 24.224C22.6394 24.1328 22.6671 24.0292 22.667 23.9238V6.73282C22.6672 6.62741 22.6395 6.52383 22.5868 6.43252C22.5342 6.34122 22.4583 6.26543 22.367 6.21282L18.701 4.09782C18.6098 4.04516 18.5063 4.01743 18.401 4.01743C18.2957 4.01743 18.1922 4.04516 18.101 4.09782L16.378 5.09282V3.10282C16.3782 2.99741 16.3505 2.89383 16.2978 2.80252C16.2452 2.71122 16.1693 2.63543 16.078 2.58282L12.41 0.465819C12.3187 0.413353 12.2153 0.385742 12.11 0.385742C12.0047 0.385742 11.9013 0.413353 11.81 0.465819L8.269 2.51082C8.17773 2.56351 8.10195 2.63932 8.04929 2.7306C7.99662 2.82189 7.96893 2.92543 7.969 3.03082V7.49382L7.753 7.61882V7.32282C7.75307 7.21743 7.72538 7.11389 7.67271 7.0226C7.62005 6.93132 7.54427 6.85551 7.453 6.80282L4.443 5.06382C4.35169 5.01145 4.24826 4.9839 4.143 4.9839C4.03774 4.9839 3.93431 5.01145 3.843 5.06382L0.301 7.10982C0.209664 7.16243 0.133829 7.23822 0.0811542 7.32952C0.0284796 7.42083 0.000830841 7.52441 0.00100012 7.62982H1.23355e-07ZM0.9 8.14882L3.312 9.53882V14.1758L3.315 14.1938L3.321 14.2328C3.32582 14.2596 3.33458 14.2856 3.347 14.3098C3.35 14.3148 3.349 14.3208 3.353 14.3258C3.355 14.3308 3.36 14.3318 3.363 14.3358C3.38209 14.3651 3.40651 14.3906 3.435 14.4108C3.445 14.4188 3.451 14.4298 3.462 14.4358L6.742 16.3318C6.746 16.3338 6.752 16.3318 6.756 16.3348C6.79747 16.3575 6.84377 16.3698 6.891 16.3708C6.941 16.3708 6.985 16.3568 7.026 16.3358C7.037 16.3298 7.046 16.3218 7.057 16.3148C7.08703 16.2943 7.11312 16.2686 7.134 16.2388C7.139 16.2308 7.147 16.2288 7.152 16.2208C7.155 16.2158 7.155 16.2088 7.158 16.2038C7.167 16.1858 7.171 16.1678 7.176 16.1478C7.18248 16.1284 7.18651 16.1082 7.188 16.0878C7.188 16.0828 7.192 16.0778 7.192 16.0708V11.7808L10.258 13.5508V30.0488L0.9 24.6498V8.14882ZM21.467 6.73182L18.527 8.43082L15.461 6.65982L15.927 6.38982L18.4 4.96182L21.467 6.73182ZM15.177 3.10182L12.235 4.79882L9.169 3.02882L12.11 1.32982L15.176 3.10182H15.177ZM6.551 7.32282L3.611 9.02082L1.201 7.62982L4.141 5.92982L6.551 7.32282ZM12.573 10.1058L14.56 8.96082V11.4728C14.56 11.4848 14.566 11.4958 14.568 11.5088C14.5704 11.5487 14.5831 11.5873 14.605 11.6208C14.615 11.6368 14.623 11.6528 14.636 11.6668C14.65 11.6828 14.666 11.6948 14.682 11.7078C14.692 11.7158 14.699 11.7258 14.71 11.7328L17.926 13.5878L14.398 15.6248V11.3348C14.398 11.3278 14.395 11.3228 14.395 11.3168C14.3931 11.2768 14.3829 11.2376 14.365 11.2018C14.361 11.1958 14.362 11.1898 14.358 11.1848C14.354 11.1788 14.35 11.1758 14.346 11.1718C14.3236 11.1378 14.2948 11.1086 14.261 11.0858C14.256 11.0828 14.253 11.0768 14.248 11.0738L12.573 10.1058ZM15.16 7.17982L18.227 8.95082V13.0688L15.16 11.2988V7.17982ZM7.491 11.2618L10.433 9.56182L13.498 11.3338L10.556 13.0308L7.491 11.2618ZM6.591 15.5518L4.211 14.1768L6.591 12.8028V15.5528V15.5518ZM7.451 8.83082L8.567 8.18682L10.093 9.06682L7.451 10.5918V8.83082ZM8.867 3.54882L11.934 5.31882V9.43582L8.868 7.66682V3.54882H8.867Z"
        fill="#1D293D"
      />
      <path
        d="M35.8042 7.19694V21.2876H42.838V24H32.8619V7.19694H35.8042ZM48.1958 24.2988C45.7822 24.2988 44.3111 22.8967 44.3111 20.7589C44.3111 18.6672 45.8282 17.3569 48.5176 17.1501L51.9196 16.8972V16.6444C51.9196 15.1043 51.0001 14.4836 49.575 14.4836C47.92 14.4836 47.0005 15.1732 47.0005 16.3685H44.6099C44.6099 13.909 46.6327 12.2999 49.7129 12.2999C52.7701 12.2999 54.655 13.9549 54.655 17.1041V24H52.1954L51.9886 22.322C51.5058 23.4943 49.9658 24.2988 48.1958 24.2988ZM49.1153 22.1841C50.8392 22.1841 51.9426 21.1497 51.9426 19.4027V18.8051L49.575 18.989C47.828 19.1499 47.1614 19.7245 47.1614 20.644C47.1614 21.6784 47.851 22.1841 49.1153 22.1841ZM60.2143 24H57.4099V12.6447H60.0074L60.2373 14.1158C60.9498 12.9665 62.329 12.2999 63.8691 12.2999C66.7194 12.2999 68.1906 14.0699 68.1906 17.0121V24H65.3862V17.6787C65.3862 15.7709 64.4438 14.8514 62.9956 14.8514C61.2716 14.8514 60.2143 16.0467 60.2143 17.8856V24ZM70.3023 18.0695C70.3023 14.7595 72.463 12.2769 75.7041 12.2769C77.405 12.2769 78.7383 12.9895 79.4049 14.2078L79.5658 12.6447H82.1632V23.4253C82.1632 27.2181 79.8876 29.5857 76.2098 29.5857C72.9457 29.5857 70.716 27.7238 70.3712 24.6896H73.1756C73.3594 26.1607 74.4858 27.0342 76.2098 27.0342C78.1406 27.0342 79.3819 25.8159 79.3819 23.931V22.0462C78.6693 23.1035 77.2671 23.7701 75.6351 23.7701C72.417 23.7701 70.3023 21.3566 70.3023 18.0695ZM73.1296 18.0006C73.1296 19.9084 74.3479 21.3336 76.1868 21.3336C78.1176 21.3336 79.3129 19.9774 79.3129 18.0006C79.3129 16.0697 78.1406 14.7365 76.1868 14.7365C74.3249 14.7365 73.1296 16.1387 73.1296 18.0006Z"
        fill="#1D293D"
      />
      <path
        d="M88.165 24L83.154 7.19694H86.2112L88.8776 16.0697C89.1304 16.9891 89.3833 17.9316 89.6361 19.4027C89.912 17.9086 90.1648 17.0351 90.4637 16.0697L93.1071 7.19694H96.3482L98.9456 16.0697C99.2215 17.0121 99.4743 17.9776 99.7502 19.4027C100.072 17.8396 100.302 16.9432 100.555 16.0927L103.267 7.19694H106.255L101.152 24H98.302L94.7161 11.7712L91.0613 24H88.165ZM109.725 24.2988C107.311 24.2988 105.84 22.8967 105.84 20.7589C105.84 18.6672 107.357 17.3569 110.047 17.1501L113.449 16.8972V16.6444C113.449 15.1043 112.529 14.4836 111.104 14.4836C109.449 14.4836 108.53 15.1732 108.53 16.3685H106.139C106.139 13.909 108.162 12.2999 111.242 12.2999C114.299 12.2999 116.184 13.9549 116.184 17.1041V24H113.724L113.518 22.322C113.035 23.4943 111.495 24.2988 109.725 24.2988ZM110.644 22.1841C112.368 22.1841 113.472 21.1497 113.472 19.4027V18.8051L111.104 18.989C109.357 19.1499 108.69 19.7245 108.69 20.644C108.69 21.6784 109.38 22.1841 110.644 22.1841ZM122.644 24H119.839V14.9893H117.655V12.6447H119.839V9.10481H122.644V12.6447H124.85V14.9893H122.644V24ZM125.815 18.2994C125.815 14.7825 128.136 12.2999 131.492 12.2999C134.596 12.2999 136.71 14.0239 137.009 16.7593H134.205C133.883 15.472 132.941 14.8054 131.607 14.8054C129.814 14.8054 128.619 16.1616 128.619 18.2994C128.619 20.4371 129.722 21.7703 131.515 21.7703C132.918 21.7703 133.906 21.0807 134.205 19.8395H137.032C136.687 22.4829 134.481 24.2988 131.515 24.2988C128.067 24.2988 125.815 21.9082 125.815 18.2994ZM141.924 24H139.119V6.89812H141.947V14.1158C142.659 13.0125 143.993 12.2999 145.625 12.2999C148.429 12.2999 149.9 14.0699 149.9 17.0121V24H147.096V17.6787C147.096 15.7709 146.153 14.8514 144.728 14.8514C142.958 14.8514 141.924 16.0927 141.924 17.7937V24Z"
        fill="#E17100"
      />
    </svg>
  );
}
